<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />
		<link href="http://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css" rel="stylesheet">
		<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<title>这是测试页</title>
		<style>
			*{margin: 0;padding: 0;-webkit-overflow-scrolling:touch}
			#sec{
				 /*overflow-y: scroll;
                -webkit-overflow-scrolling: touch;*/
               /*position: absolute !important;
               z-index: -1;
               top: 100%;
               height: 100% !important;
               width: 100%;*/
			}
			#ddd{
				/*position: absolute;*/
				/*bottom: 50px;
				left: 0;*/
				margin-top: 50%;
				
			}
			/*#myInp{
				position: absolute;
			}*/
			.swiper-container{overflow: hidden;}
			.swiper-slide {
				    overflow: auto;
				}
				
			
		</style>
	</head>
	<body>
		<div style="display: none"> <img src="http://h5.caifu008.com/inv/img/xi.png" /> </div>
		<div id="aaa">dddd</div>
		<!--<div id="swiper-container" class="swiper-container">
  <div  class="swiper-wrapper">
  	<div id="fir" class="swiper-slide">slider1</div>
    <div id="sec" class="swiper-slide" style="background: lightblue;position: relative;">
    	slider2
    	<div id="ddd" class="ddd">
    		<input onblur="myBlur()" id="myInp" type="text" style="height: 50px;" />
    	</div>
    </div>
    <div class="swiper-slide" style="background: lightseagreen;">slider3</div>
   
  </div>
</div>
		-->
		
		
		
		<script src="http://cdn.bootcss.com/Swiper/3.4.2/js/swiper.min.js"></script>
	    <script> 
	    	
//			var mySwiper = new Swiper('.swiper-container',{
//			    direction : 'vertical',
//			    height: window.innerHeight
//			})
//			
//			var u = navigator.userAgent;
//		    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
//		    if(isAndroid){
//		    	
//		    }else{
//		    	
//		    }
//			function myBlur(){
////				document.getElementById('ddd').style.marginTop='50%'
//				mySwiper.onResize()
//			}
			
			
			
			/*===============================================================================================*/
        var imgUrl = 'http://h5.caifu008.com/inv/img/xi.png';  // 分享后展示的一张图片
        var lineLink = 'http://h5.caifu008.com/inv/invitation.html'; // 点击分享后跳转的页面地址
        var descContent = "我是描述信息";  // 分享后的描述信息
        var shareTitle = '我是分享后的标题';  // 分享后的标题
        var appid = '';  // 应用id,如果有可以填，没有就留空
        
        try{
        	wx.ready(function(){
        		wx.onMenuShareAppMessage({
			    title: 'sfsdfsdf', // 分享标题
			    desc: 'ffffff', // 分享描述
			  link: window.location.href, // 分享链接
			    imgUrl: 'http://h5.caifu008.com/inv/img/xi.png', // 分享图标
				    type: '', // 分享类型,music、video或link，不填默认为link
				    dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
				    success: function () { 
				        // 用户确认分享后执行的回调函数
				    },
				    cancel: function () { 
				        // 用户取消分享后执行的回调函数
				    }
				});
	        	
        	})
        	
        	
        }catch(e){
        	alert(e)
        }
        
        
       
    /*===============================================================================================*/
		</script>
	</body>
</html>
